package co.baiku.boot.wechat.config.open;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

/**
 * 微信公众号存储策略自动配置.
 *
 * @author someone
 */
@Configuration
@Import({
        WxOpenInMemoryConfigStorageConfiguration.class,
        WxOpenInRedisTemplateConfigStorageConfiguration.class
})
@ConditionalOnProperty(prefix = "wx.open", value = "enabled", havingValue = "true")
public class WxOpenStorageAutoConfiguration {
}
